<?php if(!empty($this->product)):?>
    <table width="400px" class="">
      <thead>
        <tr class="extra-adminlist-tr">
          <th colspan="2" style="text-align: left;" nowrap="nowrap">Product Details</th>
        </tr>
      </thead>
      
      <tbody>
        <?php
            if($this->product->image != ''):
                echo '
                    <tr><td colspan="2">&nbsp;</td></str>
                    <tr>
                        <td colspan="2"><img src="'.JURI::root().'wrd/image/'.$this->product->image.'" style="height:80px;" /></td>
                    </tr>
                    <tr><td colspan="2">&nbsp;</td></str>
                ';
            endif;
        ?>
        
        <tr>
            <td ><strong>Name:</strong></td>
            <td><?php echo $this->product->name ?></td>
        </tr>
        <tr>
            <td ><strong>Quantity:</strong></td>
            <td><?php echo $this->product->quantity ?></td>
        </tr>
        <tr>
            <td ><strong>Point:</strong></td>
            <td><?php echo $this->product->point ?></td>
        </tr>
        <tr>
            <td ><strong>Point - Cash:</strong></td>
            <td><?php echo $this->product->pointx.' - '.number_format($this->product->cash, 2, '.', ','); ?> VND</td>
        </tr>
        
      </tbody>  
    </table>
<?php endif; exit;  ?>